package com.starlinkdt.service.system;

import com.starlinkdt.common.domain.system.dto.OaiAccDto;
import com.starlinkdt.common.domain.system.entity.OaiAcc;

import java.util.List;

/**
 * OAI账户Service接口
 * 
 * @author system
 */
public interface IOaiAccService
{
    /**
     * 查询OAI账户列表
     *
     * @param oaiAccSearch OAI账户
     * @return OAI账户集合
     */
    public List<OaiAcc> selectOaiAccList(OaiAcc oaiAccSearch);

    /**
     * 查询OAI账户
     *
     * @param accBizNo OAI账户唯一编码
     * @return OAI账户
     */
    public OaiAcc selectOaiAccByAccBizNo(String accBizNo);

    /**
     * 新增OAI账户
     *
     * @param oaiAccDto OAI账户
     * @return 结果
     */
    public int insertOaiAcc(OaiAccDto oaiAccDto);

    /**
     * 修改OAI账户
     *
     * @param oaiAccDto OAI账户
     * @return 结果
     */
    public int updateOaiAccByAccBizNo(OaiAccDto oaiAccDto);

    /**
     * 启用OAI账户
     *
     * @param accBizNos OAI账户唯一编码
     * @return 结果
     */
    public int enableOaiAccByAccBizNos(String[] accBizNos);

    /**
     * 禁用OAI账户
     *
     * @param accBizNos OAI账户唯一编码
     * @return 结果
     */
    public int disableOaiAccByAccBizNos(String[] accBizNos);

    /**
     * 删除OAI账户
     *
     * @param accBizNo OAI账户唯一编码
     * @return 结果
     */
    public int deleteOaiAccByAccBizNo(String accBizNo);

    /**
     * 批量删除OAI账户
     *
     * @param accBizNos OAI账户唯一编码
     * @return 结果
     */
    public int deleteOaiAccByAccBizNos(String[] accBizNos);

}
